﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SimpleHttpFramework {
	class Program {
		static void Main (string [] args)
		{
			Console.WriteLine("Waiting... the Server is starting...");
			
			Router router = new Router ();
			router.Register ("/test", Controller.Test);
			router.Register ("/hello", Controller.Hello);

			Server server = new Server(8000) {Router = router};
			server.Run ();
		}
	}
}
